<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    body{
        background-color: azure;
    }
    div{
        background-color: aqua;
    }
</style>
<body>
    <div>
        
    </div>
    <script>
        let name =prompt('请输入姓名')
        let age =prompt('请输入年龄')
        let sex =prompt('请输入性别')

        document.write(name,age,sex)
        
        let temp
        let num1=10
        let num2=20
        temp=num1
        num1=num2
        num2=temp
        document.write(num1)
        document.write(num2)
        

        //数组
        let arr =['星期一','星期二','星期三','星期四','星期五','星期六','星期天']
        console.log(arr[6])
        
        

    </script>
</body>
</html>